/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * OpenAPI spec version: 1.0
 * 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */

package net.jdcloud.HufuDatacubeService.model.resumptionindustrypagepost;

import com.jdcloud.sdk.apim.annotation.*;
import java.util.Objects;
import java.util.Arrays;
import java.io.Serializable;
import java.io.IOException;
import javax.xml.bind.annotation.*;
import com.google.gson.annotations.SerializedName;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;

/**
 * ResumptionIndustryPagePOSTBody
 */
@XmlRootElement(name = "resumptionIndustryPagePOSTBody")
@XmlAccessorType(XmlAccessType.FIELD)

public class ResumptionIndustryPagePOSTBody implements Serializable {

    private static final long serialVersionUID = 1L;

    @XmlElement(name = "dt")
    @SerializedName("dt")
    private String dt = null;

    @XmlElement(name = "page")
    @SerializedName("page")
    private String page = null;

    @XmlElement(name = "page_size")
    @SerializedName("page_size")
    private String pageSize = null;

    public ResumptionIndustryPagePOSTBody dt(String dt) {
        this.dt = dt;
        return this;
    }

    /**
     * 日期
     * @return dt
    **/

    public String getDt() {
        return dt;
    }

    public void setDt(String dt) {
        this.dt = dt;
    }

    public ResumptionIndustryPagePOSTBody page(String page) {
        this.page = page;
        return this;
    }

    /**
     * 页数
     * @return page
    **/

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public ResumptionIndustryPagePOSTBody pageSize(String pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    /**
     * 数量
     * @return pageSize
    **/

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }


    @Override
    public boolean equals(java.lang.Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        ResumptionIndustryPagePOSTBody resumptionIndustryPagePOSTBody = (ResumptionIndustryPagePOSTBody) o;
        return Objects.equals(this.dt, resumptionIndustryPagePOSTBody.dt) &&
        Objects.equals(this.page, resumptionIndustryPagePOSTBody.page) &&
        Objects.equals(this.pageSize, resumptionIndustryPagePOSTBody.pageSize);
    }

    @Override
    public int hashCode() {
        return Objects.hash(dt, page, pageSize);
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class ResumptionIndustryPagePOSTBody {\n");
        
        sb.append("    dt: ").append(toIndentedString(dt)).append("\n");
        sb.append("    page: ").append(toIndentedString(page)).append("\n");
        sb.append("    pageSize: ").append(toIndentedString(pageSize)).append("\n");
        sb.append("}");
        return sb.toString();
    }

    /**
     * Convert the given object to string with each line indented by 4 spaces
     * (except the first line).
     */
    private String toIndentedString(java.lang.Object o) {
        if (o == null) {
          return "null";
        }
        return o.toString().replace("\n", "\n    ");
    }

}

